﻿@using Microsoft.AspNetCore.Mvc.Localization;
@inject IViewLocalizer Localizer
@{
    ViewData["Title"] = "试卷管理";
}

<blockquote class="layui-elem-quote quoteBox">
    <form class="layui-form">
        @Html.AntiForgeryToken()
        <div class="layui-inline">
            <div class="layui-input-inline">
                <input type="text" style="width:300px" class="layui-input searchVal" placeholder="@Localizer["SearchPlaceholder"]" />
            </div>
            <a class="layui-btn search_btn" data-type="reload">@Localizer["Search"]</a>
        </div>
        <div class="layui-inline">
            <a class="layui-btn layui-btn-normal addTestPage_btn"><i class="layui-icon">&#xe61f;</i>@Localizer["AddTestPaper"]</a>
        </div>
        @*<div class="layui-inline">
            <a class="layui-btn layui-btn-danger layui-btn-normal delAll_btn"><i class="layui-icon layui-icon-delete"></i>@Localizer["BatchDelete"]</a>
        </div>*@
    </form>
</blockquote>
<table id="testPageList" lay-filter="testPageList"></table>
<!--操作-->
<script type="text/html" id="testPageListBar">
    @*<a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>*@
    <a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="del">@Localizer["Delete"]</a>
</script>
@section Scripts{
    <script type="text/javascript" src="~/layui/layui.js"></script>
    <script type="text/javascript" src="~/js/TestPage/TestPageList.js?_=@DateTime.Now.ToString("yyyyMMddHHmmss")"></script>
}